package com.zlt.appparking.mapper;

import com.zlt.appparking.entity.ParkingOrder;
import com.zlt.appparking.entity.ParkingOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ParkingOrderMapper {
    long countByExample(ParkingOrderExample example);

    int deleteByExample(ParkingOrderExample example);

    int deleteByPrimaryKey(Integer poId);

    int insert(ParkingOrder record);

    int insertSelective(ParkingOrder record);

    List<ParkingOrder> selectByExample(ParkingOrderExample example);

    ParkingOrder selectByPrimaryKey(Integer poId);

    int updateByExampleSelective(@Param("record") ParkingOrder record, @Param("example") ParkingOrderExample example);

    int updateByExample(@Param("record") ParkingOrder record, @Param("example") ParkingOrderExample example);

    int updateByPrimaryKeySelective(ParkingOrder record);

    int updateByPrimaryKey(ParkingOrder record);
}
